package com.tarena.lbs.basic.web.dao.repository;

import com.tarena.lbs.base.protocol.pager.BasePageList;
import com.tarena.lbs.pojo.basic.bo.AdminBO;
import com.tarena.lbs.pojo.basic.query.AdminQuery;

public interface AdminRepository {
    AdminBO getUserByPhone(String phone);

    AdminBO getAdminById(Integer Id);

    BasePageList<AdminBO> adminList(AdminQuery query);

    long countAdminByPhone(String accountPhone);

    void save(AdminBO adminBO);
}
